package com.fortune.dto.in.BackReturnOrder;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import java.math.BigDecimal;

public class ReturnOrderDetailDto {
    @ApiModelProperty(example="序号")
    private int detailNo;
    @NotBlank(message = "厂商id不能为空")
    @ApiModelProperty(example = "厂商id")
    private String mid;
    @NotBlank(message = "商品id不能为空")
    @ApiModelProperty(example = "商品id")
    private String mpid;
    @ApiModelProperty(example = "收回空箱数量")
    private float boxNum;
    @ApiModelProperty(example = "退押金金额")
    private BigDecimal depositPrice;

    public int getDetailNo() {
        return detailNo;
    }

    public void setDetailNo(int detailNo) {
        this.detailNo = detailNo;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getMpid() {
        return mpid;
    }

    public void setMpid(String mpid) {
        this.mpid = mpid;
    }

    public float getBoxNum() {
        return boxNum;
    }

    public void setBoxNum(float boxNum) {
        this.boxNum = boxNum;
    }

    public BigDecimal getDepositPrice() {
        return depositPrice;
    }

    public void setDepositPrice(BigDecimal depositPrice) {
        this.depositPrice = depositPrice;
    }

    @Override
    public String toString() {
        return "ReturnOrderDetailDto{" +
                "detailNo=" + detailNo +
                ", mid='" + mid + '\'' +
                ", mpid='" + mpid + '\'' +
                ", boxNum=" + boxNum +
                ", depositPrice=" + depositPrice +
                '}';
    }
}
